<?php

namespace App\Models;

/**
 * App\Models\IndexSalon
 *
 * @property int $id 自增ID
 * @property string $salon_id 沙龙ID
 * @property int $status 状态：0未开始，1即将开幕，2进行中，3已结束，4往期回顾
 * @property int $is_deleted 删除状态，0正常，1删除
 * @property int $is_enable 是否启用，0禁用，1启用
 * @property int $start_at 开始时间戳
 * @property int $end_at 结束时间戳
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|IndexComment newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexComment newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexComment query()
 */
class IndexSalon extends BaseModel
{

    protected $table = "index_salon";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'created_at' => 'timestamp',
        'updated_at' => 'timestamp',
    ];

    /**
     * select columns
     * @var array
     */
    public $fields = [];

}
